package com.dayuanit.dy17.atm.atmbackoffice.dto;

import java.util.List;

public class PowerDTO {
    private Long id;
    private String powerValue;
    private Long parentId;
    private String url;
    private List<PowerDTO> child;//二级目录

    public PowerDTO() {}

    public PowerDTO(long id, String powerValue) {
        this.id = id;
        this.powerValue = powerValue;
    }

    public PowerDTO(long id, String powerValue, long parentId, String url) {
        this.id = id;
        this.powerValue = powerValue;
        this.parentId = parentId;
        this.url = url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setChild(List<PowerDTO> child) {
        this.child = child;
    }

    public List<PowerDTO> getChild() {
        return child;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPowerValue() {
        return powerValue;
    }

    public void setPowerValue(String powerValue) {
        this.powerValue = powerValue;
    }
}
